//
//  TMCache+TimeStamp.h
//  DeyiLife
//
//  Created by zxin on 15/6/30.
//  Copyright (c) 2015年 Deyi. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "TMCache.h"

@interface TMCache (TimeStamp)

- (void)setObjectWithTimeStamp:(id <NSCoding>)object forKey:(NSString *)key block:(TMCacheObjectBlock)block;
- (BOOL)objectForKeyIsExpire:(NSString *)key expireTime:(double)duration;

@end
